package com.unionx.unionxuf.service;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.unionx.unionxuf.dao.PersonDao;
@Service("PersonService")
public class PersonServiceImpl implements PersonService {
     
	@Autowired(required=true)
	private PersonDao personDao;
	
	public Object getPerson(HttpServletRequest request) {
		
		return personDao.getPerson(request);
	}


	public Object getPersons(HttpServletRequest request) {
		// TODO Auto-generated method stub
		return personDao.getPersons(request);
	}

}
